package de.hauschild.orbitvm.vm.instruction.impl.dooble;

public class Mult extends AbstractDoubleInstruction {

  public Mult(final int theInstructionCounter, final int theFirstArgumentAdress, final int theSecondArgumentAdress) {
    super(theInstructionCounter, theFirstArgumentAdress, theSecondArgumentAdress);
  }

  @Override
  public String getName() {
    return "Mult";
  }

  @Override
  protected double evaluate(final double firstArgument, final double secondArgument) {
    return firstArgument * secondArgument;
  }

}
